<%@ Page Culture="it-IT" Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Active_Users.aspx.cs" Inherits="Dashboard.admin.access.Active_Users" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     
    <section class="panel">
	    <header class="panel-heading">
					<h2>Active / Inactive Users</h2>
			</header>
			<div class="panel-tools" align="right">
				<ul class="tooltip-area">
					<li><a href="javascript:void(0)" class="btn btn-collapse" title="Collapse"><i class="fa fa-sort-amount-asc"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-reload"  title="Reload"><i class="fa fa-retweet"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-close" title="Close"><i class="fa fa-times"></i></a></li>
				</ul>
			</div>
			<div class="panel-body">

                <!-- PUT YOUR CONTENT HERE -->
<form id="form1" runat="server">                                            

    <table class="webparts">
        <tr>
        <td class="details" style="vertical-align:top">

        <asp:DropDownList runat="server" ID="active" AutoPostBack="true">
            <asp:ListItem>Active</asp:ListItem>
            <asp:ListItem>Inactive</asp:ListItem>
        </asp:DropDownList>

        <br /><br />

        <asp:GridView runat="server" ID="Users" AutoGenerateColumns="false" CssClass="table table-bordered" GridLines="none" AllowSorting="true">
            <Columns>
	            <asp:TemplateField>
		            <HeaderTemplate>User Name</HeaderTemplate>
		            <ItemTemplate>
		            <a href="edit_user.aspx?username=<%# Eval("UserName") %>"><%# Eval("UserName") %></a>
		            </ItemTemplate>
	            </asp:TemplateField>
	            <asp:BoundField DataField="email" HeaderText="Email" />
	            <asp:BoundField DataField="comment" HeaderText="Comments" />
	            <asp:BoundField DataField="creationdate" HeaderText="Creation Date" />
	            <asp:BoundField DataField="lastlogindate" HeaderText="Last Login Date" />
	            <asp:BoundField DataField="lastactivitydate" HeaderText="Last Activity Date" />
	            <asp:BoundField DataField="isapproved" HeaderText="Is Active" />
	            <asp:BoundField DataField="isonline" HeaderText="Is Online" />
	            <asp:BoundField DataField="islockedout" HeaderText="Is Locked Out" />
            </Columns>
        </asp:GridView>

        </td>

        </tr>
    </table>

</form>

			</div>
			<footer class="panel-footer">
				<button type="submit" class="btn" data-color="#F4AD41">Submit</button>
				<button type="reset" class="btn">Cancel</button>
			</footer>
	</section>                  
</asp:Content>
